// 全国房屋设施数据
import request from '@/utils/request'

// 采集系统情况
export function getSystemSituation() {
    return request({
        url: '/fwss/getSystemSituation',
        method: 'get',
    })
}

// 抽样率情况
export function getSamplingRate() {
    return request({
        url: '/fwss/getSamplingRate',
        method: 'get',
    })
}

// 已提交统计
export function getProvinceSamplingRate() {
    return request({
        url: '/fwss/getProvinceSamplingRate',
        method: 'get',
    })
}

// 普采入库情况
export function getGeneralSituation() {
    return request({
        url: '/fwss/getGeneralSituation',
        method: 'get',
    })
}

// 详采入库情况
export function getSiftSituation() {
    return request({
        url: '/fwss/getSiftSituation',
        method: 'get',
    })
}

// 房屋数据采集情况
export function getYearsNum(){
    return request({
        url: '/fwss/getYearsNum',
        method: 'get'
    })
}
// 房屋抽样详查建筑结构类型统计
export function getStatistics(){
    return request({
        url: '/fwss/getStatistics',
        method: 'get'
    })
}
//各省(直辖市)详查数据栋数抽样率
export function getSiftCoverage(){
    return request({
        url: '/fwss/getSiftCoverage ',
        method: 'get'
    })
}
// 全国建筑物采集情况统计
export function getSituation(){
    return request({
        url: '/fwss/getSituation',
        method: 'get'
    })
}

export function getMapDate(params){
    return request({
        url: `/fwss/getMapDate`,
        method: 'get',
        params
    })
}

// 全国建筑物采集情况统计
export function getGeneralSurvey(query){
    return request({
        url: '/fwss/getGeneralSurvey',
        method: 'get',
        params:query
    })
}
